package com.culture.config.dao.mapper;

import java.util.List;

import com.culture.config.dao.entity.JobLog;
import com.github.pagehelper.Page;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface JobLogMapper {
    JobLog get(Long id);
    Integer add(JobLog jobLog);   
    Integer clearByJobId(JobLog jobLog);   
    List<JobLog> listByJobId(JobLog jobLog); 
    List<JobLog> listTopByJobId(@Param(value = "jobId") Long jobId, @Param(value = "topn") Integer topn);       
    Page<JobLog> page(JobLog jobLog);
}
